package co.edu.usbcali.raju.games.chess.helpers;

import co.edu.usbcali.raju.games.BoardFactory;
import co.edu.usbcali.raju.games.chess.model.ChessBoard;
import co.edu.usbcali.raju.model.Board;

public class ChessBoardFactory implements BoardFactory {
	
	private static ChessBoardFactory instance;
	
	public static ChessBoardFactory getInstance(){
		if (instance==null){
			instance=new ChessBoardFactory();
		}
		return instance;
	}

	@Override
	public Board getInitialBoard() {
		return PlBoardWrapper.getInstance().getInitialBoard();
	}

	@Override
	public Board getEmptyBoard() {
		return new ChessBoard();
	}

}
